﻿using System.Collections.Generic;
using Dost.Khcn.Data.EntityModel;

namespace Dost.Khcn.Data.Interfaces
{
    public interface IHinhThucDaoTaoDao
    {
        List<HinhThucDaoTao> GetHinhThucDaoTaos(int startIndex, int pageSize, string sorting, string name, out int totalRecords);
        List<HinhThucDaoTao> GetAll();
        HinhThucDaoTao AddHinhThucDaoTao(HinhThucDaoTao hinhThucDaoTao);
        HinhThucDaoTao GetById(int id);
        void UpdateHinhThucDaoTao(HinhThucDaoTao hinhThucDaoTao);
        void DeleteHinhThucDaoTao(int id);
    }
}
